package com.zyd.blog.homeart.service;

import com.zyd.blog.framework.object.PageResult;
import com.zyd.blog.persistence.beans.DesignArticle;
import com.zyd.blog.persistence.beans.FineArt;
import com.zyd.blog.persistence.beans.SoftProduct;

import java.util.Map;

public interface BackstageFineArtService {

    Integer insertFineArt(FineArt fineArt);

    Integer editFineArt(String  fineId,String  fineTitle,String fineImage,String top,
                        String  fineContent);

    Integer deleteFineArt(String fineId) throws Exception;

    Map<String,Object>  searchDesign(String value,int page,int count);
    PageResult softBackstage(int page, int count);

    Map<String,Object> specific(String designId,String state) throws Exception;

    FineArt get(String id);

    Integer updateIn(FineArt fineArt);

    Integer hide(String id,String commentId,String content);
}
